home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A galvanized metal ball',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 100,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (58,58,72),
- 'Direction': (0.623542,0.78179,-2.98023e-010),
- 'HighlightSize': 35
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (59,69,63),
- 'Direction': (-0.707107,-0.707107,0),
- 'HighlightSize': 33
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (79,81,65),
- 'Direction': (-0.26499,0.534265,0.802709),
- 'HighlightSize': 33
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
-
- },
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (128,128,128),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.true,
- 'Depth': 3,
- 'FileName': 'Galvanized',
- 'Fit': App.Constants.Boolean.true,
- 'Size': 100,
- 'Smoothness': 0
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'FileName': 'Galvanized',
- 'PatternOpacity': 98,
- 'EnvironmentType': App.Constants.BubbleMapType.Environment
- },
- 'Gloss': 59,
- 'Opacity': 100,
- 'Shininess': 39
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-